package cn.z2huo.demo.mapper.user;

import cn.z2huo.demo.example.user.UserRoleRelationDOExample;
import cn.z2huo.demo.model.dataobject.user.UserRoleRelationDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>该 Mapper 对应数据库表为 z2huo_user_role_relation
 * <p>
 * 
 * @author z2huo
 * @date   2024-12-10
 */
@Mapper
public interface UserRoleRelationMapper {

    long countByExample(UserRoleRelationDOExample example);

    int deleteByExample(UserRoleRelationDOExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserRoleRelationDO row);

    int insertSelective(UserRoleRelationDO row);

    List<UserRoleRelationDO> selectByExample(UserRoleRelationDOExample example);

    UserRoleRelationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") UserRoleRelationDO row, @Param("example") UserRoleRelationDOExample example);

    int updateByExample(@Param("row") UserRoleRelationDO row, @Param("example") UserRoleRelationDOExample example);

    int updateByPrimaryKeySelective(UserRoleRelationDO row);

    int updateByPrimaryKey(UserRoleRelationDO row);
}